package design.cp3;

public class Mocha extends CondimentDecorator
{
	Beverage beverage;
	
	public Mocha(Beverage beverage)
	{
		this.beverage = beverage;
	}
	
	public String getDescription()
	{
		System.out.println(".....Mocha.....");
		return beverage.getDescription()+", Mocha";
	}
	
	public double cost()
	{
		return .20+beverage.cost();
	}
}
